package pitchstat;

public class Pitchstat {

    public static double SQRT12 = 1.0594630943593;
    public static double A4 = 440;

    public static void main(String[] args) {
	test1();
    }

    public static void test1() {
	int maxWaveLen = 4;
	int maxLoud = 3;
	//maxWaveLen=2:3*maxLoud
	//maxWaveLen=3:6*maxLoud
	//maxWaveLen=4:10*maxLoud
	//maxWaveLen=5:15*maxLoud
	//maxWaveLen=6:21*maxLoud
	//maxWaveLen=7:28*maxLoud
	//maxWaveLen=8:36*maxLoud
	//maxWaveLen=9:45*maxLoud
	//maxWaveLen=10:55*maxLoud
	System.out.println("maxWaveLen: " + maxWaveLen);
	System.out.println("maxLoud: " + maxLoud);
	System.out.println("--");
	int nn = 0;
	for (int waveLen = 0; waveLen < maxWaveLen; waveLen++) {
	    for (int barLoud = 0; barLoud < maxLoud; barLoud++) {
		for (int barPosition = 0; barPosition <= waveLen; barPosition++) {
		    System.out.println(nn + ": waveLen: " + waveLen + ", barPosition: " + barPosition + ", barLoud: " + barLoud);
		    nn++;
		}
	    }
	}
    }
}
